#!/bin/sh
set -x
mount -t devtmpfs devtmpfs /dev
mount -t proc proc /proc
mount -t sysfs sysfs /sys
echo root:x:0:0:root:/root:/bin/sh > /etc/passwd
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ldconfig
blocks maintboot-impl
echo s > /proc/sysrq-trigger
echo b > /proc/sysrq-trigger
# wait for system to reboot
read foo

